// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2024-11-01',
  devtools: { enabled: true },
  css: [
    'element-plus/dist/index.css',
    '~/assets/css/main.scss'
  ],
  build: {
    transpile: ['element-plus/es']
  },
  plugins: [
    '~/plugins/element-plus.client'
  ],
  app: {
    head: {
      title: '京东商城 - 仿站',
      meta: [
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { name: 'description', content: '京东商城仿站，电商平台示例' }
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
      ]
    }
  }
})
